package com.xjtu.project.aichat;

import com.xjtu.project.mapper.SaleMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class SaleService {
    private final SaleMapper saleMapper;
    public List<SalesVO> getSaleTop10(SalesDTO salesDTO) {
        return saleMapper.getSaleTop10(salesDTO);
    }
}
